using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MenuPanel : BasePanel
{
    protected override void OnClick(string name)
    {
        switch (name)
        {
            case "settingButton":
                UIManager.Instance.ShowPanel<SettingPanel>("SettingPanel");
                break;
            case "saveAndExitButton":
                break;
            case "backButton":
                UIManager.Instance.HidePanel("MenuPanel");
                break;
        }
    }
}
